@charset "utf-8";

@import url("bootstrap.min.css");
@import url("font-awesome.min.css");
@import url("public.css");

.reg-login {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  z-index: 1;
}

.reg-login>div:nth-child(1) {
  width: 500px;
}

.reg-login>div:nth-child(2) {
  width: 450px;
}

@media (max-width: 992px){
  .reg-login {
    width: auto;
    height: auto;
    display: block;
    position: relative;
    top:-1px;
  }
  .reg-login>div:nth-child(1) {
    display: none;
  }
  .reg-login>div:nth-child(2) {
    width: 100%;
  }
}

.waves {
  position: absolute;
  width: 100%;
  height: 10vmin;
  left: 0;
  bottom: 10vmin;
}

.content {
  position: relative;
  height: 20vmin;
  text-align: center;
  background-color: white;
}

/* Animation */

.parallax>use {
  animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax>use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}

.parallax>use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}

.parallax>use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}

.parallax>use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}

@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }

  100% {
    transform: translate3d(85px, 0, 0);
  }
}

.bg {
  position: absolute;
  top:0;
  left:0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
}
.bg>div:nth-child(1),body > footer{
  height: 90vh;
  background-color: #2e6dbb;
}

body > footer {
  position: relative;
  padding-top: 15vmin;
  text-align: center;
  font-size: 1rem;
  line-height: 1.8;
  color: #FFFFFF;
  text-shadow: 1px 1px 0 #000000;
  height: auto;
  padding-bottom: 30vh;
}

body > footer>.waves {
  top:0;
  bottom: auto;
  /* transform:rotateX(180deg); */
}
.msg {
  text-align: center;
  font-size: 2rem;
  vertical-align: middle;
  padding-top: 3rem;
}
.msg>i {
  font-size: 5rem;
  vertical-align: middle;
  margin-right: 1rem;
}

body > header:nth-of-type(1) {
  background-color: #FFFFFF;
  min-height: 60px;
}

body > header:nth-of-type(1) > .navbar {
  background-color: #FFFFFF!important;
  box-shadow: 0 0 1rem rgba(0,0,0,.5)!important;
  height: 60px;
  padding: 0;
}
.top-img {
	width: 100%;
}
@media (max-width: 992px){
  body > header:nth-of-type(1) > .navbar > .show {
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.5)!important;
  }
  .top-img {
  	display: none;
  }
}
body > header:nth-of-type(1) > .navbar-light .navbar-nav {
  background-color: #FFFFFF;
}


body > header:nth-of-type(1) > .navbar-light .navbar-brand {
  color: #2e6dbb;
  padding: 0;
  height: 60px;
  line-height: 60px;
}

body > header:nth-of-type(1) > .navbar-light .navbar-nav  .nav-link {
  transition: all .5s;
  margin-left: 1px;
  color: #2e6dbb;
  padding: 0 1.5rem;
  line-height: 60px;
  font-size: 1.1rem;
  letter-spacing: 3px;
}



body > header:nth-of-type(1) .dropdown-toggle::after {
  border: none;
  margin: 0;
  padding: 0;
}
body > header:nth-of-type(1) >.navbar-light .navbar-nav .active .nav-link,
body > header:nth-of-type(1) >.navbar-light .navbar-nav :hover .nav-link {
  background-color: #2e6dbb!important;
  color: #FFFFFF;
  height: 60px;
}

body > header:nth-of-type(1) > .navbar-light .navbar-nav.login  .nav-link {
  color: #2e6dbb;
  padding: 0 0.5rem;
  line-height: 60px;
  font-size: 1rem;
  letter-spacing: 3px;
}


body > header:nth-of-type(1)  .user-img {
  width: 50px;
  height: 50px;
  border-radius: 50px;
  border: solid 1px #999;
 }
 body > header:nth-of-type(1) >.navbar-light .navbar-nav.login :hover .user-img {
  border: solid 1px #000;
 }

body > header:nth-of-type(1) >.navbar-light .navbar-nav.login :hover .nav-link {
  background-color: #FFFFFF!important;
  color: #a00;
  height: 60px;
  font-weight: bold;
}

body > header:nth-of-type(1) > .navbar-light .navbar-nav .dropdown:hover  .dropdown-menu {
  display: block;
  top:58px;
}
body > header:nth-of-type(1) > .navbar-light .navbar-nav .dropdown:hover  .dropdown-menu .dropdown-item {
 color: #2e6dbb;
 transition: all .5s;
}
body > header:nth-of-type(1) > .navbar-light .navbar-nav .dropdown:hover  .dropdown-menu  .dropdown-item:hover {
  background-color: #007bff!important;
  color: #FFFFFF;
  transform: scale(1,1.1);
  letter-spacing: 2px;
  
}


.news-list h1 {
  color: #333;
  font-size: 1.2rem;
}

.news-list div.news-about,.news-list div.news-time {
  line-height: 1.6;
  color: #999;
}

.news-list .row {
  background-color: rgba(0,0,0,0.05);
  padding: 1rem .5rem;
  margin-bottom: 1rem;
}
.news-list img {
  width: 100%;
  height: 100px;
}
.news-list a {
	text-decoration: none;
}
.news-list a:hover img {
	transition: all .5s;
	transform: scale(1.1);
}
.news-list a:hover h1 {
	color:red;
}

.news-content,.news-content p {
	font-size: 1rem;
	line-height: 1.5;
}
.news-content p {
	text-indent: 2em;
	margin-bottom: 0.5em;
}
.news-content p:has(img) {
	text-indent: 0!important;
}
.news-content img {
	display:block;
	margin: .5em auto;
	width: 100%;
	max-width: 800px;
}

.shopping-cart {
    display: block;
    position: fixed;
    top:40%;
    right: .5rem;
    font-size: 40px;
    border: solid #dc3545 2px;
    color:#dc3545;
    box-sizing: content-box;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    transition: all 1s;
    z-index: 999;
}
.shopping-cart:hover {
  border-color: #0056b3;
  transform: scale(1.2);
}

a.section {
  color: #333;
  display: block;
  float: left;
  min-width: 16em;
  text-indent: 1em;
  border-bottom: solid 1px #333;
  margin: 1em .5em 0 0;
  position: relative;
}

a.section::before {
  content: "";
  display: block;
  border: rgba(0,0,0,0) .8em solid;
  border-left-color: #080;
  border-bottom: #008800;
  width: 0;
  height: 0;
  position: absolute;
  bottom: 0;
  left: 0;
}
a.section.money::before {
  border-left-color: #a00;
  border-bottom: #a00;
}

a.section:hover{
  color:#a00;
  text-decoration: none;
}